package main

import "fmt"

//将手牌转化成整数形式
func turnToValue(cards []int) int{
	res := 0
	for i:=0; i < len(cards); i++{
		res *= 10
		res += cards[i]
	}
	return res
}

func main(){
	cards := []int{3,3,1,1,11,5,0}
	res := turnToValue(cards)
	fmt.Println(res)

	a := 12
	b := 30
	c := int32(float32(a)/float32(b) *100)
	fmt.Println(c)
}